﻿using Abp.AutoMapper;
using Mt.Site.Core.Storage;
using System.ComponentModel.DataAnnotations;

namespace Mt.Site.Application.FileUpload.Dto
{
    [AutoMapFrom(typeof(FileObject))]
    public class FileInfoDetailDto: FileInfoDto
    {
        [StringLength(FileObject.MaxAltLength)]
        public string Alt { get; set; }

        /// <summary>
        /// 来源
        /// </summary>
        [StringLength(FileObject.MaxScoureLength)]
        public string Scoure { get; set; }


        [StringLength(FileObject.MaxDescriptionLength)]
        public string Description { get; set; }

        [StringLength(FileObject.MaxLinkUrlLength)]
        public string LinkUrl { get; set; }
    }
}
